home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000434_news@columbia.edu _Mon Jan 10 19:54:16 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA08977
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 10 Jan 2000 19:54:15 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA16421
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 10 Jan 2000 19:41:21 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. Message-ID: <387A77D7.52E5B806@matsch.com>
  10. From: Charlie Sears <charlie@matsch.com>
  11. Subject: Question on ckermit 7 redirect in background
  12. Date: Mon, 10 Jan 2000 19:22:47 -0500
  13. Organization: Msen, Inc.
  14. To: kermit.misc@columbia.edu
  15.  
  16. I would like to use kermit to read ascii text from a serial port and
  17. dump the text into a file (or pipe it to another command).  I need to
  18. run the entire process in the background so it can start automatically
  19. when an unattended system boots.  
  20.  
  21. I considered using the connect command and piping the output, but this
  22. doesn't work in the background:
  23. # nohup kermit -l /dev/ttyS0 -b 9600 -B -C "c" > file 2>&1 &
  24. [1] 1131
  25. [1]+  Stopped (tty output)    nohup kermit -l /dev/ttyS0 -b 9600 -B -C
  26. "c" >file 2>&1
  27.  
  28. The redirect command also works fine when running kermit interactively,
  29. but when running in the background no data is written to the file.  Any
  30. thoughts would be appreciated.
  31.  
  32. This is using C-Kermit 7.0.196 Beta.11, 6 Dec 1999, for Linux (RedHat).
  33.  
  34. TIA
  35. Charlie